/**
 * 
 */
package wftElements;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author ashutosh
 *
 */
public class ProcessActivity extends CommonFields implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String label;
    private ItemType itemType;
    private String itemTypeName;
    private String activityName;
    private String startEnd;
    private String defaultResult;
    private String iconGeometry;
    private String valueType;
    private Role performRole;
    private String performRoleName;
    private String userComment;
    private List<ActivityAttributeValue> actAttrVal;
    private List<ActivityTransition> actTransition;

    /**
	 * @return the itemTypeName
	 */
	public String getItemTypeName() {
		return itemTypeName;
	}

	/**
	 * @param itemTypeName the itemTypeName to set
	 */
	public void setItemTypeName(String itemTypeName) {
		this.itemTypeName = itemTypeName;
	}

	/**
	 * @return the performRoleName
	 */
	public String getPerformRoleName() {
		return performRoleName;
	}

	/**
	 * @param performRoleName the performRoleName to set
	 */
	public void setPerformRoleName(String performRoleName) {
		this.performRoleName = performRoleName;
	}

	/**
	 * @return the label
	 */
	public String getLabel() {
		return label;
	}

	/**
	 * @param label the label to set
	 */
	public void setLabel(String label) {
		this.label = label;
	}

	/**
	 * @return the itemType
	 */
	public ItemType getItemType() {
		return itemType;
	}

	/**
	 * @param itemType the itemType to set
	 */
	public void setItemType(ItemType itemType) {
		this.itemType = itemType;
	}

	/**
	 * @return the activityName
	 */
	public String getActivityName() {
		return activityName;
	}

	/**
	 * @param activityName the activityName to set
	 */
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	/**
	 * @return the startEnd
	 */
	public String getStartEnd() {
		return startEnd;
	}

	/**
	 * @param startEnd the startEnd to set
	 */
	public void setStartEnd(String startEnd) {
		this.startEnd = startEnd;
	}

	/**
	 * @return the defaultResult
	 */
	public String getDefaultResult() {
		return defaultResult;
	}

	/**
	 * @param defaultResult the defaultResult to set
	 */
	public void setDefaultResult(String defaultResult) {
		this.defaultResult = defaultResult;
	}

	/**
	 * @return the iconGeometry
	 */
	public String getIconGeometry() {
		return iconGeometry;
	}

	/**
	 * @param iconGeometry the iconGeometry to set
	 */
	public void setIconGeometry(String iconGeometry) {
		this.iconGeometry = iconGeometry;
	}

	/**
	 * @return the valueType
	 */
	public String getValueType() {
		return valueType;
	}

	/**
	 * @param valueType the valueType to set
	 */
	public void setValueType(String valueType) {
		this.valueType = valueType;
	}

	/**
	 * @return the performRole
	 */
	public Role getPerformRole() {
		return performRole;
	}

	/**
	 * @param performRole the performRole to set
	 */
	public void setPerformRole(Role performRole) {
		this.performRole = performRole;
	}

	/**
	 * @return the userComment
	 */
	public String getUserComment() {
		return userComment;
	}

	/**
	 * @param userComment the userComment to set
	 */
	public void setUserComment(String userComment) {
		this.userComment = userComment;
	}

	/**
	 * @return the actAttrVal
	 */
	public List<ActivityAttributeValue> getActAttrVal() {
		if(actAttrVal == null){
			actAttrVal = new ArrayList<ActivityAttributeValue>();
		}
		return actAttrVal;
	}

	/**
	 * @param actAttrVal the actAttrVal to set
	 */
	public void setActAttrVal(List<ActivityAttributeValue> actAttrVal) {
		this.actAttrVal = actAttrVal;
	}

	/**
	 * @return the actTransition
	 */
	public List<ActivityTransition> getActTransition() {
		if(actTransition == null){
			actTransition = new ArrayList<ActivityTransition>();
		}
		return actTransition;
	}

	/**
	 * @param actTransition the actTransition to set
	 */
	public void setActTransition(List<ActivityTransition> actTransition) {
		this.actTransition = actTransition;
	}
    
  
}
